package com.hawthorn.admin.service.syscompany;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
 * <p>todo 公司维护接口</p>
 * @author: WCZ
 * @created: 2022/6/21$ 20:04$
 * @version v1.0.1
 */

public interface SysCompanyService
{

  IPage<Map<String, Object>> findCompanies(Page<Map<String, Object>> page, String qc);

  Map<String, Object> saveCompany(Map<String, Object> params);


  Map<String, Object> updateCompany(Long id, Map<String, Object> params);

  void exportCompanyData(HttpServletResponse response, String fileName, Map<String, Object> param) throws IOException;

  Map<String, Object> changeStatus(Long id, String params);

  Map<String, Object> saveComDept(Map<String, Object> params);
}
